$def with(aff, usr, action)
$:frender.header(scripts = ['afflatus.js'], title = '%s - %s' % (aff.title, aff.dest_name))

<script type="text/javascript">
    $$(function () {
        init_events();
    });
    function init_events() {
        $$('._beento').beento();
    };
</script>
<div class="main2 main3">
    <div class="main3_l">
        <div class="main3_user"><img src="$usr.bind_avatar" width="51" height="51" /></div>
        <div class="main3_msg">
            $if action == 'beento':
                $usr.bind_name 去过$aff.dest_name的$aff.title旅行，你有旅行的灵感吗？
            $else:
                $usr.bind_name 想去$aff.dest_name的$aff.title旅行,你呢？
        </div>
        <div class="clear"></div>
        <div class="main3_msg2">
            <a href="/afflatus/$aff.id" class="_login"><img
                src="$config.STATIC_PREFIX/default/images/icon2.gif" width="6" height="8" /> 我也想去</a>
            <a href="#beento" ref="$aff.id" class="_login _beento"><img src="$config.STATIC_PREFIX/default/images/icon2.gif" width="6" height="8" /> 我去过的</a>
        </div>
        <div style="color:#fff;padding:10px;">$:aff.short_text</div>
        <div class="main3_msg4"><a href="/">我想去其它地方</a></div>
    </div>
    <div class="main2_r" id="mdtimg"><a href="/afflatus/$aff.id" class="_login"><img src="$get_media_url(aff.media_id, 2)" width="315" title="$aff.title - $aff.dest_name" /></a></div>
    <div class="clear"></div>
</div>

<div style="display:none;">
    <div id="comment">ddd</div>
</div>

$:frender.footer()
